﻿<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ page language="java" contentType="text/html;charset=UTF-8" pageEncoding="utf-8" %>

<table class="table-orderList">
    <thead>
    <td>项目编号</td>
    <td>用户名称</td>
    <td>ico名称</td>
    <td>代币名称</td>
    <td>审核状态</td>
    <td>创建时间</td>
    <td>最后修改时间</td>
    <td>操作</td>
    </thead>
    <c:forEach var="item" items="${data}" varStatus="list">
        <tr>
            <td>${item.pid }</td>
            <td>${item.email}</td>
            <td>${item.ico_name }</td>
            <td>${item.ticker }</td>
            <td>${item.status_str }</td>
            <td><fmt:formatDate value="${item.create_time }" pattern="yyyy-MM-dd hh:mm:ss"></fmt:formatDate></td>
            <td><fmt:formatDate value="${item.modify_time }" pattern="yyyy-MM-dd hh:mm:ss"></fmt:formatDate></td>
            <td>
                <a class="text-primary mr-10" data-tab-title="修改" target="_blank"
                   href="${basePath}/t_project/add?pid=${item.pid}">查看并审核</a>
            </td>
        </tr>
    </c:forEach>
</table>
<c:choose>
    <c:when test="${!empty data}">
        ${page}
    </c:when>
    <c:otherwise>
        <div class="relative" style="height: 200px">
            <span>没有符合条件的数据，请尝试其他搜索条件</span>
        </div>
    </c:otherwise>
</c:choose>

